/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.ipo.mm.ejb.facade.log;

import java.util.List;
import javax.ejb.Local;
import org.ipo.mm.ejb.entities.Log;

/**
 *
 * @author makcro
 */
@Local
public interface LogFacadeLocal {

    void create(Log log);

    void edit(Log log);

    void remove(Log log);

    Log find(Object id);

    List<Log> findAll();

    public void log(org.ipo.mm.ejb.entities.User user, java.lang.String message);

    public void logCreate(org.ipo.mm.ejb.entities.User user, java.lang.String entityType, java.lang.String entiyName);

    public void logUpdate(org.ipo.mm.ejb.entities.User user, java.lang.String entityType, java.lang.String entiyName);

    public void logDelete(org.ipo.mm.ejb.entities.User user, java.lang.String entityType, java.lang.String entiyName);

    public java.lang.Long getCount();

    public java.util.List<org.ipo.mm.ejb.entities.Log> findAll(int firstResult, int maxResults);

}
